<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>铁路管理系统</title>
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css">
    <link rel="stylesheet" href="/admin/css/styles.css">
</head>
<body>
<!-- 侧边导航栏 -->


<!-- 主内容区 -->
<div class="main-content">
    <div class="header">
        <h2>铁路管理系统后台</h2>
        <div class="user-info">
            <div class="user-dropdown">
                <div class="user-avatar" id="userAvatar">
                    <img src="https://ui-avatars.com/api/?name=管理员&background=random" alt="用户头像">
                    <span id="welcomeMessage">欢迎您：管理员</span>
                    <i class="fas fa-chevron-down"></i>
                </div>
                <div class="dropdown-menu" id="dropdownMenu">
                    <a href="#" id="logoutBtn"><i class="fas fa-sign-out-alt"></i> 退出登录</a>
                </div>
            </div>
        </div>
    </div>

    <!-- 页面内容区域 -->
    <div id="page-content">
        <div class="welcome-message">
            <h3>欢迎使用铁路管理系统</h3>
            <p>请从左侧导航栏选择功能模块开始操作</p>
        </div>
    </div>
</div>

<script src="/admin/js/auth.js"></script>
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
<script src="/admin/js/load-navbar.js"></script>
<script src="/admin/js/user-info.js"></script>
</body>
</html>
